import request from '@/pages/api/request.js';

function commentGet(data){
	return request({
		method: "POST",
		url: 'comment/get',
		data: data
	})
}
function commentGetNum(data){
	return request({
		method: "POST",
		url: 'comment/getnum',
		data: data
	})
}
function commentAdd(data){
	return request({
		method: "POST",
		url: 'comment/add',
		data: data
	})
}
function AddFiles(data){
	return request({
		method: "POST",
		url: 'file/adds',
		data: data
	})
}
function GetOrder(data){
	return request({
		method: "POST",
		url: 'comment/getOrder',
		data: data
	})
}
export default{
	commentGet,
	commentGetNum,
	commentAdd,
	AddFiles,
	GetOrder,
}